<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 * @author Windy
 */
class Core_View_Helper_Identity extends Zend_View_Helper_Abstract{
    public function identity(){
        if(Zend_Auth::getInstance()->hasIdentity()){
           return Zend_Auth::getInstance()->getIdentity();
        }else{
           return null;
        }
    }
}
?>
